﻿using System.ComponentModel.DataAnnotations;
using Abp.Application.Services.Dto;

namespace Abp0713Demo.Materials.Dto
{
    public class CreateOrUpdateMaterialInput : EntityDto
    {
        /// <summary>
        /// 物料名称
        /// </summary>
        [Required]
        public string Name { get; set; }

        /// <summary>
        /// 代码
        /// </summary>
        [Required]
        public string Code { get; set; }
        /// <summary>
        /// 物料药批号
        /// </summary>
        [StringLength(50)]
        public string BatchNumber { get; set; }

        /// <summary>
        /// 物料药产地
        /// </summary>
        public string OriginAddress { get; set; }
    }
}